package com.daybook.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.daybook.pojo.Member;
import com.sun.org.apache.bcel.internal.generic.Select;


public interface MemberMapper {
	//查询一积分所要金额
	double selectOneNeedMoney();
	
	//查询所有会员折扣信息
	List<Member> selectAllMember();
	//查询一积分所需会员钱数
	Member selectMemberByMid();
	//更新一积分所需会员钱数
	int updateMember(@Param(value = "money")double money);
	//更新会员名
	int updateMemberByUname(@Param(value = "mid")int mid,@Param(value = "mname")String mname );

}
